<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		
		var arr = [1,2,3,4,5,7];
		
		var index =	arr.indexOf(7);
		arr.splice(index,1)
		console.log(arr);
	</script>
</html>
